<template>
  <div>
    <avue-transfer v-model="obj"
                   :dic="dic"></avue-transfer>
  </div>
</template>
<script>
export default {
  name: 'main',
  data() {
    const generateData = () => {
      const data = [];
      for (let i = 1; i <= 15; i++) {
        data.push({
          key: i,
          label: `备选项 ${ i }`,
          disabled: i % 4 === 0
        });
      }
      return data;
    };
    return {
      obj: [],
      dic: generateData()
    }
  }
}
</script>